package com.LearnInWorld.video.pojo;

import lombok.Data;

import javax.persistence.Id;
import javax.persistence.Table;

/**
 * 评论表
 */
@Data
@Table(name = "tb_comments")
public class Comments {
    @Id
    //评论表ID
    private long commentsId;
    //评论的内容
    private String commentsDetails;
    //评分
    private long commentsScore;
    //评论时间
    private java.sql.Timestamp commentsTime;
    //评论者的id
    private long userId;
    //课程ID
    private long timetableId;

}
